#red-packet-bg {
    width: 100%;
    z-index: 13;
    bottom: 0;
    position: fixed;
    background: rgba(0, 0, 0, .2);
    height: calc(100% - (100vw / 16 * 9) - 45px); //   发送红包
    >div {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        min-height: 380px;
        .main {
            width: 5rem;
            height: 80%;
            border-radius: 5px;
        }
    } //   打开红包
    .redPacket,
    .redPacketOver {
        .main {
            background: url("../../assets/redPacket/main.png") no-repeat;
            background-size: cover;
            position: relative;
            div {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
            }
            .header {
                font-size: 16px;
                top: 15%;
                color: #f5e89d;
            }
            .desc {
                white-space: nowrap;
                top: 30%;
                overflow: hidden;
                font-size: 18px;
                color: #f5e89d;
            }
            .grab {
                width: 60px;
                height: 60px;
                top: 50%;
                background: url("../../assets/redPacket/open.png") no-repeat;
                background-size: cover;
            }
            .showall {
                width: 100%;
                text-align: center;
                bottom: 24px;
                font-size: 14px;
                color: #ddd18e;
            }
        }
    } //   发红包
    .sendRedPacket {
        .main {
            overflow: hidden;
            background: #f1f1f1;
            display: flex;
            flex-direction: column;
            .header {
                background-color: #e84141;
                height: .4rem;
            }
            .body {
                padding: .2rem;
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                >div {
                    +div {
                        margin-top: .2rem;
                    }
                    display: flex;
                    flex-direction: row;
                    height: .8rem;
                    line-height: .8rem;
                    background: white;
                    padding: 0 .1rem;
                    overflow: hidden;
                    span {
                        white-space: nowrap;
                    }
                    input {
                        flex: 1;
                        height: .8rem;
                        width: 1rem;
                        padding-right: 10px;
                        text-align: right;
                    }
                }
            }
            .footer {
                position: relative;
                height: .9rem;
                >div {
                    position: absolute;
                    height: .9rem;
                    &.btn {
                        top: 50%;
                        left: 50%;
                        transform: translateX(-50%) translateY(-50%);
                        height: .6rem;
                        width: 4.6rem;
                        background-color: #e84141;
                        border-radius: .1rem;
                        line-height: .6rem;
                        color: white;
                    }
                    &.tip {
                        color: white;
                        text-align: right;
                        font-size: .2rem;
                        padding-right: .2rem;
                    }
                }
            }
        }
    } //   抢红包的列表
    .redPacketList {
        .main {
            overflow: hidden;
            background: white;
            .header {
                overflow: hidden;
                width: 100%;
                background: url("../../assets/redPacket/show.png") no-repeat;
                background-size: cover;
                div {
                    margin-left: auto;
                    margin-right: auto;
                    font-family: "微软雅黑";
                    overflow: hidden;
                    text-align: center;
                }
                .title {
                    width: 90%;
                    font-size: .4rem;
                    color: #f5e89d;
                    padding-top: .6rem;
                }
                .desc {
                    width: 90%;
                    font-size: .4rem;
                    color: #e84141;
                    padding-top: .8rem;
                }
                .money {
                    width: 90%;
                    font-size: .4rem;
                    color: #414141;
                    padding-top: 10px;
                }
                .tip {
                    width: 90%;
                    font-size: .1rem;
                    color: #999999;
                    padding-top: 5px;
                }
            }
            .userList {
                width: 100%;
                height: 150px;
                text-align: center;
                overflow: auto;
                overflow-x: hidden;
                p {
                    margin: 0;
                    width: 100%;
                    height: 25px;
                    text-align: left;
                    padding-left: 15px;
                    line-height: 28px;
                    font-size: 12px;
                    font-family: "微软雅黑";
                    color: #999999;
                    border-bottom: 1px solid #eeeeee;
                }
                ul li {
                    list-style: none;
                    width: 100%;
                    padding: 5px;
                    position: relative;
                    height: 40px;
                    border-bottom: 1px solid #f1f1f1;
                    >img {
                        position: absolute;
                        left: 15px;
                        top: 5px;
                        border-radius: 50px;
                        height: 29px;
                        width: 29px;
                    }
                    .name {
                        position: absolute;
                        top: 5px;
                        font-size: 12px;
                        color: #333333;
                        left: 55px;
                    }
                    .timer {
                        position: absolute;
                        bottom: 2px;
                        font-size: 12px;
                        color: #999999;
                        left: 55px;
                    }
                    .money {
                        position: absolute;
                        right: 15px;
                        top: 1px;
                        font-size: 14px;
                        color: #666666;
                    }
                    .best {
                        position: absolute;
                        right: 15px;
                        font-size: 14px;
                        bottom: 2px;
                        img {
                            float: left;
                            vertical-align: bottom;
                        }
                        span {
                            font-size: 12px;
                            font-family: "微软雅黑";
                            color: #ffca28;
                            float: right;
                            vertical-align: bottom;
                        }
                    }
                }
            }
        }
    }
}
